package com.woniuxy.crm.entity;

import com.woniuxy.crm.Menus.CustomerMenum;
import com.woniuxy.crm.Menus.CustomerTypeMenum;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
@Builder
public class Customer {
    private int id, managerId;
    private String name, mobile, compony;
    private CustomerMenum status;
    private CustomerTypeMenum type;
    private LocalDateTime addTime;

    public Customer() {
    }

    public Customer(int id, int managerId, String name, String mobile, String compony, CustomerMenum status, CustomerTypeMenum type, LocalDateTime addTime) {
        this.id = id;
        this.managerId = managerId;
        this.name = name;
        this.mobile = mobile;
        this.compony = compony;
        this.status = status;
        this.type = type;
        this.addTime = addTime;
    }
    //    @Override
//    public String toString() {
//        return "Customer{" +
//                "id=" + id +
//                ", managerId=" + managerId +
//                ", name='" + name + '\'' +
//                ", mobile='" + mobile + '\'' +
//                ", type=" + type +
//                ", compony='" + compony + '\'' +
//                ", status=" + status +
//                ", addTime=" + addTime +
//                '}';
//    }

}
